package com.families.entity;

public class Result {
    
	public final static int SUCCESS=1;
	public final static int ERROR=2;
	public final static int ABNORMAL=3;
	public final static int DATAEXISTS=4;
	public static final int PART = 5;	
	private int code;
	private String message;
	private Object obj;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	public Result(int code, String message, Object obj) {
		super();
		this.code = code;
		this.message = message;
		this.obj = obj;
	}
	public Result() {
		super();
		// TODO Auto-generated constructor stub
	}
    




}
